import * as React from 'react';
import {observer} from 'mobx-react'
import styles from './index.scss';

import WaterPolo from '../../../../pages/home/WaterPolo'

interface IProps {
    uptime_rate?: number
}

@observer
class Home extends React.Component<IProps> {

    constructor(props) {
        super(props);
    }


    public render() {
        const {uptime_rate} = this.props
        return (
            <div className={styles.right}>
                <div className={styles.backOut} />
                <div className={styles.backOutTwo} />
                <div className={styles.backOutFour} />
                <div className={styles.backOutThree} />
                <div className={styles.backOutFive} />
                <div className={styles.EChart}>
                    <WaterPolo uptime_rate={uptime_rate} />
                </div>
            </div>
        );
    }
}

export default Home;
